package com.jierui.meter.frontend.mapper;

import com.jierui.meter.frontend.domain.DO.ShowIndicesDO;
import com.jierui.meter.frontend.domain.DO.TErrorComputingAndMeterDO;
import com.jierui.meter.frontend.domain.DO.TErrorComputingResultsDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface ShowIndicesMapper {

	List<ShowIndicesDO> selectIndices(@Param("year") String year, @Param("scope") String scope, @Param("org") String org);

	List<ShowIndicesDO> selectByDateAndON57(@Param("year") String year, @Param("scope") String scope, @Param("orgNo7") String orgNo7,
											@Param("page") int page, @Param("size") int size);

	int selectByDateAndON57Count(@Param("year") String year, @Param("scope") String scope, @Param("orgNo7") String orgNo7);

	List<ShowIndicesDO> selectByDateAndON57GroupByOrg7Name(@Param("year") String year, @Param("scope") String scope, @Param("orgNo7") String orgNo7);

	ShowIndicesDO selectByDateAndON7SUM(@Param("year") String year, @Param("scope") String scope, @Param("orgNo7") String orgNo7);
}
